﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TraceabilityApp_Domain
{
    /// <summary>
    /// 溯源管理屠宰信息表（Slaughter）			
    /// </summary>
    public class SlaughterModel:BaseEntity
    {
        /// <summary>
        /// 屠宰Id(主键标识)
        /// </summary>
        [Key]
        public int SlaughterId { get;set;}
        /// <summary>
        /// 生产批次(整个系统唯一)
        /// </summary>
        public string Batch{  get; set; }
        /// <summary>
        /// 到厂均重（公斤）
        /// </summary>
        public int ActualWeighing {  get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime ArrivalTime {  get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
    }
}
